﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Syspetro.Core.DbAccessor
{
    public interface IOrderByReq
    {
        /// <summary>
        /// 排序
        /// </summary>
        string OrderBy { get; set; }
        /// <summary>
        ///  asc: 正序 desc: 倒序 normal:不排序
        /// </summary>
        string Sorting { get; set; }
        /// <summary>
        /// 是否升序
        /// </summary>
        /// <returns></returns>
        bool IsAscending();
    }
}
